package com.and9.mchen.mcmusic.dao.factory;

import com.and9.mchen.mcmusic.dao.ILyricDao;
import com.and9.mchen.mcmusic.util.EntityHelper;

public class LyricDaoFactory {

	private ILyricDao lyricDao = null;
	private static LyricDaoFactory instance = new LyricDaoFactory();
	
	private  LyricDaoFactory(){
		lyricDao=(ILyricDao) EntityHelper.createDaoByProperty("ILyricDaoClass");
	}
	public static LyricDaoFactory getInstance(){
		return instance;
	}
	public ILyricDao getLyricDao(){
		return lyricDao;
	}
	
}
